+Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkdialog.h:
+ * gtk/gtkseparator.h:
+ * gtk/gtkhseparator.h:
+ * gtk/gtkvseparator.h: macro and GtkType fixups.
+
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
+Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkdialog.h:
+ * gtk/gtkseparator.h:
+ * gtk/gtkhseparator.h:
+ * gtk/gtkvseparator.h: macro and GtkType fixups.
+
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
+Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkdialog.h:
+ * gtk/gtkseparator.h:
+ * gtk/gtkhseparator.h:
+ * gtk/gtkvseparator.h: macro and GtkType fixups.
+
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
+Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkdialog.h:
+ * gtk/gtkseparator.h:
+ * gtk/gtkhseparator.h:
+ * gtk/gtkvseparator.h: macro and GtkType fixups.
+
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
+Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkdialog.h:
+ * gtk/gtkseparator.h:
+ * gtk/gtkhseparator.h:
+ * gtk/gtkvseparator.h: macro and GtkType fixups.
+
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
+Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkdialog.h:
+ * gtk/gtkseparator.h:
+ * gtk/gtkhseparator.h:
+ * gtk/gtkvseparator.h: macro and GtkType fixups.
+
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
+Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkdialog.h:
+ * gtk/gtkseparator.h:
+ * gtk/gtkhseparator.h:
+ * gtk/gtkvseparator.h: macro and GtkType fixups.
+
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
static void gtk_dialog_init (GtkDialog *dialog);
-guint
+GtkType
gtk_dialog_get_type (void)
{
- static guint dialog_type = 0;
+ static GtkType dialog_type = 0;
if (!dialog_type)
{
(GtkClassInitFunc) NULL,
};
- dialog_type = gtk_type_unique (gtk_window_get_type (), &dialog_info);
+ dialog_type = gtk_type_unique (GTK_TYPE_WINDOW, &dialog_info);
}
return dialog_type;
GtkWidget*
gtk_dialog_new (void)
{
- return GTK_WIDGET (gtk_type_new (gtk_dialog_get_type ()));
+ return GTK_WIDGET (gtk_type_new (GTK_TYPE_DIALOG));
}
#ifdef __cplusplus
extern "C" {
+#pragma }
#endif /* __cplusplus */
-#define GTK_DIALOG(obj) GTK_CHECK_CAST (obj, gtk_dialog_get_type (), GtkDialog)
-#define GTK_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_dialog_get_type (), GtkDialogClass)
-#define GTK_IS_DIALOG(obj) GTK_CHECK_TYPE (obj, gtk_dialog_get_type ())
+#define GTK_TYPE_DIALOG (gtk_dialog_get_type ())
+#define GTK_DIALOG(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_DIALOG, GtkDialog))
+#define GTK_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_DIALOG, GtkDialogClass))
+#define GTK_IS_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_DIALOG))
+#define GTK_IS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DIALOG))
typedef struct _GtkDialog GtkDialog;
};
-guint gtk_dialog_get_type (void);
+GtkType gtk_dialog_get_type (void);
GtkWidget* gtk_dialog_new (void);
GdkEventExpose *event);
-guint
+GtkType
gtk_hseparator_get_type (void)
{
- static guint hseparator_type = 0;
+ static GtkType hseparator_type = 0;
if (!hseparator_type)
{
(GtkClassInitFunc) NULL,
};
- hseparator_type = gtk_type_unique (gtk_separator_get_type (), &hseparator_info);
+ hseparator_type = gtk_type_unique (GTK_TYPE_SEPARATOR, &hseparator_info);
}
return hseparator_type;
GtkWidget*
gtk_hseparator_new (void)
{
- return GTK_WIDGET (gtk_type_new (gtk_hseparator_get_type ()));
+ return GTK_WIDGET (gtk_type_new (GTK_TYPE_HSEPARATOR));
}
#ifdef __cplusplus
extern "C" {
+#pragma }
#endif /* __cplusplus */
-#define GTK_HSEPARATOR(obj) GTK_CHECK_CAST (obj, gtk_hseparator_get_type (), GtkHSeparator)
-#define GTK_HSEPARATOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_hseparator_get_type (), GtkHSeparatorClass)
-#define GTK_IS_HSEPARATOR(obj) GTK_CHECK_TYPE (obj, gtk_hseparator_get_type ())
+#define GTK_TYPE_HSEPARATOR (gtk_hseparator_get_type ())
+#define GTK_HSEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HSEPARATOR, GtkHSeparator))
+#define GTK_HSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSEPARATOR, GtkHSeparatorClass))
+#define GTK_IS_HSEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HSEPARATOR))
+#define GTK_IS_HSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSEPARATOR))
typedef struct _GtkHSeparator GtkHSeparator;
};
-guint gtk_hseparator_get_type (void);
+GtkType gtk_hseparator_get_type (void);
GtkWidget* gtk_hseparator_new (void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
#endif /* __GTK_HSEPARATOR_H__ */
static void gtk_separator_init (GtkSeparator *separator);
-guint
+GtkType
gtk_separator_get_type (void)
{
- static guint separator_type = 0;
+ static GtkType separator_type = 0;
if (!separator_type)
{
(GtkClassInitFunc) NULL,
};
- separator_type = gtk_type_unique (gtk_widget_get_type (), &separator_info);
+ separator_type = gtk_type_unique (GTK_TYPE_WIDGET, &separator_info);
}
return separator_type;
#ifdef __cplusplus
extern "C" {
+#pragma }
#endif /* __cplusplus */
-#define GTK_SEPARATOR(obj) GTK_CHECK_CAST (obj, gtk_separator_get_type (), GtkSeparator)
-#define GTK_SEPARATOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_separator_get_type (), GtkSeparatorClass)
-#define GTK_IS_SEPARATOR(obj) GTK_CHECK_TYPE (obj, gtk_separator_get_type ())
+#define GTK_TYPE_SEPARATOR (gtk_separator_get_type ())
+#define GTK_SEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SEPARATOR, GtkSeparator))
+#define GTK_SEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR, GtkSeparatorClass))
+#define GTK_IS_SEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SEPARATOR))
+#define GTK_IS_SEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR))
typedef struct _GtkSeparator GtkSeparator;
};
-guint gtk_separator_get_type (void);
+GtkType gtk_separator_get_type (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
#endif /* __GTK_SEPARATOR_H__ */
GdkEventExpose *event);
-guint
+GtkType
gtk_vseparator_get_type (void)
{
- static guint vseparator_type = 0;
+ static GtkType vseparator_type = 0;
if (!vseparator_type)
{
(GtkClassInitFunc) NULL,
};
- vseparator_type = gtk_type_unique (gtk_separator_get_type (), &vseparator_info);
+ vseparator_type = gtk_type_unique (GTK_TYPE_SEPARATOR, &vseparator_info);
}
return vseparator_type;
GtkWidget*
gtk_vseparator_new (void)
{
- return GTK_WIDGET (gtk_type_new (gtk_vseparator_get_type ()));
+ return GTK_WIDGET (gtk_type_new (GTK_TYPE_VSEPARATOR));
}
#include <gtk/gtkseparator.h>
-#define GTK_VSEPARATOR(obj) GTK_CHECK_CAST (obj, gtk_vseparator_get_type (), GtkVSeparator)
-#define GTK_VSEPARATOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_vseparator_get_type (), GtkVSeparatorClass)
-#define GTK_IS_VSEPARATOR(obj) GTK_CHECK_TYPE (obj, gtk_vseparator_get_type ())
+#ifdef __cplusplus
+extern "C" {
+#pragma }
+#endif /* __cplusplus */
+
+
+#define GTK_TYPE_VSEPARATOR (gtk_vseparator_get_type ())
+#define GTK_VSEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VSEPARATOR, GtkVSeparator))
+#define GTK_VSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSEPARATOR, GtkVSeparatorClass))
+#define GTK_IS_VSEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VSEPARATOR))
+#define GTK_IS_VSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSEPARATOR))
typedef struct _GtkVSeparator GtkVSeparator;
};
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-
-guint gtk_vseparator_get_type (void);
+GtkType gtk_vseparator_get_type (void);
GtkWidget* gtk_vseparator_new (void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
#endif /* __GTK_SEPARATOR_H__ */